/*
 *******************************************************************************
 *
 * Copyright (C) 2019-2020 Dialog Semiconductor.
 * This computer program includes Confidential, Proprietary Information
 * of Dialog Semiconductor. All Rights Reserved.
 *
 *******************************************************************************
 */

package com.dialog.suotalib.suota;

import android.bluetooth.BluetoothGattCharacteristic;

import com.dialog.suotalib.dialogs.SupportCustomDialogFragment;
import com.dialog.suotalib.global.SuotaProfile;
import com.dialog.suotalib.interfaces.callbacks.ISuotaManagerCallback;

/**
 * This abstract class is used to implement SuotaManager callbacks.
 */
public abstract class SuotaManagerCallback implements ISuotaManagerCallback {

    @Override
    public void onConnectionStateChange(SuotaProfile.SuotaManagerStatus newStatus) {
    }

    @Override
    public void onServicesDiscovered() {
    }

    @Override
    public void onCharacteristicRead(SuotaProfile.CharacteristicGroup characteristicGroup, BluetoothGattCharacteristic characteristic) {
    }

    @Override
    public void onDeviceInfoReadCompleted(SuotaProfile.DeviceInfoReadStatus status) {
    }

    @Override
    public void updateSpeedStatistics(double current, double max, double min, double avg) {
    }

    @Override
    public void updateCurrentSpeed(double currentSpeed) {
    }

    @Override
    public void onDeviceReady() {
    }

    @Override
    public void onSuotaLog(SuotaProfile.SuotaProtocolState state, SuotaLogType type, String log) {
    }

    @Override
    public void onChunkSend(int chunkCount, int totalChunks, int chunk, int block, int blockChunks, int totalBlocks){
    }

    @Override
    public void onBlockSent(int block, int totalBlocks) {
    }

    @Override
    public void onUploadProgress(float percent) {
    }

    @Override
    public void onSuccess(double totalElapsedSeconds, double imageUploadElapsedSeconds) {
    }

    @Override
    public void onFailure(int errorCode) {
    }

    @Override
    public void onRebootSent() {
    }

    @Override
    public void pendingRebootDialog(SupportCustomDialogFragment rebootDialog) {
    }
}
